<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="10dp"
    android:background="?colorSecondary"
    tools:context=".presentation.favorites.fragment.FavoritesFragment">

    <!-- TODO: Update blank fragment layout -->
    <androidx.appcompat.widget.Toolbar
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        style="@style/toolbarTitle"
        app:title="@string/favorite_head_name"/>

    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/rvFavorite"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginStart="@dimen/dimen_16dp"
        android:layout_marginEnd="20dp"
        android:layout_marginTop="80dp"
        tools:listitem="@layout/vacancy_item" />

    <ProgressBar
        android:id="@+id/pbLoading"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:indeterminateTint="@color/Blue_yp"
        android:visibility="visible" />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:orientation="vertical">

        <ImageView
            android:id="@+id/iv_favorite"
            android:layout_width="320dp"
            android:layout_height="220dp"
            android:layout_gravity="center"
            android:foreground="@drawable/state_image_empty" />

        <TextView
            android:id="@+id/tv_favorite"
            style="@style/TitleTextStyle"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_marginTop="10dp"
            android:text="@string/favorite_empty"
            android:textColor="@color/BlackDay_WhiteNight"
            android:textAlignment="center" />

    </LinearLayout>
</FrameLayout>
